import pandas as pd
data = [[110,120,105],[95,110,108],[98,80,100],[112,106,97]]
index = ['王蒙','李珊','赵胜','刘文']
columns = ['语文','数学','英语']
df = pd.DataFrame(data,index,columns)
print('保存的数据: \n',df)
df.to_csv('Score.csv',encoding='GBK')
df1 = pd.read_csv('Score.csv',index_col=0,encoding='GBK')
print('导入的数据: \n', df1)